enablePlugins(JavaAppPackaging)
enablePlugins(UniversalPlugin)

packageName in Universal := (name in Global).value + '-' + "core"

mappings in Universal += file("core/deploy/app.sh") -> "app.sh"

mappings in Universal ++= {
  ((baseDirectory in Compile).value / s"deploy/${System.getProperty("conf")}" * "*").get.map { f =>
    println(f)
    f -> s"config/${f.name}"
  }
}

sources in doc in Compile := List()
publishArtifact in packageDoc := false
publishArtifact in packageSrc := false

exportJars := true
